package com.luojing.springcloud.mapper;

import com.luojing.springcloud.model.KsUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KsUserMapper {

    int insertKsUser(@Param("KsUser") KsUser ksUser);

    KsUser queryKsUserById(@Param("id") Long id);

    int updateKsUser(@Param("KsUser") KsUser ksUser);

    List<KsUser> queryKsUser();
}